package com.cms.service;


import com.cms.entity.Files;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface FileService {

    Files getFileById(Integer id);

    List<Files> getAllFiles();

    boolean addFile(Files files);

    boolean updateFile(Files files);

    boolean deleteFile(Integer id);

    List<Files> getNotDeletedFiles();

    boolean softDeleteFile(Integer id);
}
